include_directories(${CMAKE_SOURCE_DIR}/cs5721Graphics)

SET(CMAKE_CXX_FLAGS_RELEASE)

add_executable(raytracer 
BlinnPhongShader.cpp	BlinnPhongShader.h
Mesh.cpp 		Mesh.h	
BoundingBox.cpp		BoundingBox.h		
BoundingVolumeNode.cpp	BoundingVolumeNode.h
Ray.cpp 		Ray.h
Camera.cpp		Camera.h
DielectricShader.cpp	DielectricShader.h
Scene.cpp		Scene.h	
Shader.cpp		Shader.h
Shape.cpp		Shape.h
SceneParser.cpp		SceneParser.h
LambertianShader.cpp	LambertianShader.h
TransformMatrix.h	TransformMatrix.cpp
Instance.h		Instance.cpp
Sphere.cpp		Sphere.h
Light.cpp		Light.h	
Triangle.cpp		Triangle.h
Texture.cpp		Texture.h
ColoredTexture.cpp	ColoredTexture.h
CheckerboardTexture.cpp	CheckerboardTexture.h
PerlinTexture.cpp	PerlinTexture.h
WoodTexture.cpp		WoodTexture.h
Construct.cpp		Construct.h
main.cpp)

target_link_libraries(raytracer pthread)
target_link_libraries(raytracer png)
target_link_libraries(raytracer cs5721Graphics)

